﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            DialogResult cs = MessageBox.Show("是否登录QQ", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
            if (cs == DialogResult.Yes)
            {
                Susseed susseed = new Susseed();
                susseed.Show();
            }
            else if (cs == DialogResult.No)
            {
                this.Close();
            }
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }
    }
}
